package com.langsin.shixu.mapper;

import com.langsin.bean.Worker;

import java.util.List;

public interface WorkerMapper {

    int insertWorker(Worker worker); //添加工人


    List<Worker> selectByAge(Integer age); //查询一堆工人,根据年龄

    int insertWorkerUUID(Worker worker);


    /**
     * 按条件修改
     * @param worker
     * @return
     */
    int updateWorkerByCondition(Worker worker);


}
